Rule 39. Trial by jury or by the court